Component({
    properties: {
        editable: {
            type: Boolean,
            value: false,
        },
        sex: String, // 0男，1女
        gender: String, // female, male
        avator: String, // 头像地址
        border: String, // 边框
        width: String, // ps: 宽高相等
        userId: String // 用户id
    },
    methods: {
        tapAvator(){
            if (this.data.editable) {
                this.triggerEvent('set')
            }
        }
    }
})